<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jsPDF image</title>
</head>
<body>
<h1>jsPDF</h1>
<script src="./js/jsPdf.debug.js"></script>
<script>
    var doc = new jsPDF('landscape','pt',[205, 115])
    var imageData = ''
    doc.addImage(imageData, 'PNG', 0, 0, 205, 115);
    doc.save('a4.pdf')
</script>
</body>
</html>